from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .list import orders_list_router
from .car import orders_car_router
from .goods import orders_goods_router
from .water import orders_water_router

orders_router = APIRouter()
orders_router.include_router(orders_list_router, prefix="/orders", tags=["后端-订单模块"], dependencies=[DependPermisson])
orders_router.include_router(orders_car_router, prefix="/car", tags=["后端-购物车模块"], dependencies=[DependPermisson])
orders_router.include_router(orders_goods_router, prefix="/goods", tags=["后端-发货模块"], dependencies=[DependPermisson])
orders_router.include_router(orders_water_router, prefix="/water", tags=["后端-支付流水模块"], dependencies=[DependPermisson])